package org.itzheng.myrxframe.http.rxjava;

import io.reactivex.Observer;
import io.reactivex.disposables.Disposable;

/**
 * Title:<br>
 * Description: <br>
 *
 * @email ItZheng@ZoHo.com
 * Created by itzheng on 2019-4-9.
 */
public interface IRxNet {
    /**
     * @param observer
     * @param disposable
     */
    void addDisposable(Observer observer, Disposable disposable);

    void addDisposable(Disposable disposable);

    void removeDisposable(Observer observer);
}
